package com.hmy.finance.api.client;


import com.hmy.ccp.common.result.FeignResult;
import com.hmy.finance.api.bo.core.request.FinancialContractUpdateApiRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "hmy-finance")
public interface FinancialContractUpdateFeignClient {

    /**
     * 合同签署后的调用
     *
     * @param financialContractUpdateApiRequest financialContractUpdateApiRequest
     * @return Boolean.true
     */
    @PutMapping("/feign/finance/statement/updateStatementConfirmContractInfo")
    FeignResult<Boolean> updateStatementContractConfirmInfo(@RequestBody FinancialContractUpdateApiRequest financialContractUpdateApiRequest);

    /**
     * 合同创建后的调用
     *
     * @param financialContractUpdateApiRequest financialContractUpdateApiRequest
     * @return Boolean.true
     */
    @PutMapping("/feign/finance/statement/updateStatementCreateContractInfo")
    FeignResult<Boolean> updateStatementContractCreateInfo(@RequestBody FinancialContractUpdateApiRequest financialContractUpdateApiRequest);


}
